Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

InsertItem Method








The 0-based index at which item should be inserted.
The object to insert. The value can be null for reference types.
Inserts an item into the LeadCollection`1 at the specified index.
Syntax
protected override void InsertItem( 
   int index,
   T item
)
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As T _
) 
'Usage
 
Dim instance As LeadCollection(Of T)
Dim index As Integer
Dim item As T
 
instance.InsertItem(index, item)
protected override void InsertItem( 
   int index,
   T item
)
 function Leadtools.LeadCollection.InsertItem( 
   index ,
   item 
)
protected:
void InsertItem( 
   int index,
   T^ item
) override 

Parameters

index
The 0-based index at which item should be inserted.
item
The object to insert. The value can be null for reference types.
Remarks

The InsertItem is meant to be overridden in a derived class. For a public method to insert an item in the LeadCollection`1, see Insert.

LeadCollection`1 accepts null as a valid value for reference types and allows duplicate items.

If index is equal to Count, item is added to the end of LeadCollection`1.

This method raises the CollectionChanged event with Add action.

Requirements

Target Platforms

See Also

Reference

LeadCollection<T> Class
LeadCollection<T> Members

Error processing SSI file